package com.prodavalnik.model;

import java.io.File;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class Product {
private int id;
private int category;

private String name;
private String description;
private BigDecimal price;
private Date timeStamp;
private List<File> images;

public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public int getCategory() {
	return category;
}
public void setCategory(int category) {
	this.category = category;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public String getDescription() {
	return description;
}
public void setDescription(String description) {
	this.description = description;
}
public BigDecimal getPrice() {
	return price;
}
public void setPrice(BigDecimal price) {
	this.price = price;
}
public Date getTimeStamp() {
	return timeStamp;
}
public void setTimeStamp(Date timeStamp) {
	this.timeStamp = timeStamp;
}
public List<File> getImages() {
	return images;
}
public void setImages(List<File> images) {
	this.images = images;
}
public Product(int category,String name, String description, BigDecimal price,
		Date timeStamp, List<File> images) {
	super();
	this.category = category;
	this.name = name;
	this.description = description;
	this.price = price;
	
	this.timeStamp = timeStamp;
	this.images = images;
}
@Override
public String toString() {
	return "Product [id=" + id + ", name=" + name + ", description="
			+ description + ", price=" + price + ", timeStamp=" + timeStamp
			+ "]";
}


}
